package com.daxia.bumall.common;

/**
 * 工厂状态， 1：新增  2：已支付  3：未审核 4：已审核
 * @author kevin
 *
 */
public enum FactoryInfoStatus {
	Add(1,"新增"),
	Payed(2,"已支付"),
	NoAudited(3,"未审核"),
	Audited(4,"已审核");
	
	
	private int value;
	private String remark;

	private FactoryInfoStatus(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static OrderStatus getByValue(int value) {
		for (OrderStatus o : OrderStatus.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}
}